import 'package:flutter/material.dart';

import 'bottom_nav_bar.dart';
import 'cash_flow_chart.dart';
import 'expense_category.dart';

class ResumePage extends StatelessWidget {
  const ResumePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Resume'),
        backgroundColor: Colors.blue,
      ),
      body: Padding(
        padding: const EdgeInsets.all(16.0),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            CashFlowChart(),
            SizedBox(height: 20),
            Text('By category', style: Theme.of(context).textTheme.headline6),
            ExpenseCategory(),
          ],
        ),
      ),
      bottomNavigationBar: BottomNavBar(),
    );
  }
}
